Trump has nominated Pam Bondi to be the US attorney general, after Matt Gates, his previous nominee, withdrew from the job.